package com.itheima.service.db.impl;

import com.itheima.domain.db.User;
import com.itheima.mapper.UserMapper;
import com.itheima.service.db.PhoneNumberService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class PhoneNumberServiceImpl implements PhoneNumberService {
    @Autowired
    private UserMapper userMapper;

    //修改手机号
    public void saveNewPhoneNumber(User user) {

       userMapper.updateById(user);
    }
}
